package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoCarrierVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 承运商信息 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-14
 */
public interface StoCarrierDubboService {

    StoCarrierVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(StoCarrierVO stoCarrierVO) throws Exception, InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    void del(List<String> list,Integer isDel,String userId);

    void reset(List<String> list,Integer isDel,String userId);

    void frozen(List<String> list,Integer isFrozen,String userId);

    void frozenReset(List<String> list,Integer isFrozen,String userId);

    PageInfo<StoCarrierVO> findPageByVO(StoCarrierVO stoCarrierVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

}
